#include"Server.hpp"
#include<iostream>

int main()
{
    server s;
    std::cout << "server" << std::endl;
    s.openpipe();


    std::string num;
    while(true)
    {
        s.rpipe(&num);
        std::cout <<"server读到的数据:" << num <<std::endl;
    }

    s.closepipe();
    return 0;
}